import request from '@/utils/request'

//会议室列表
export function officeLists(params?: any) {
    return request.get({ url: '/office.conference/lists', params })
}

// 会议室添加
export function officeAdd(params: any) {
    return request.post({ url: '/office.conference/add', params })
}

// 会议室编辑
export function officeEdit(params: any) {
    return request.post({ url: '/office.conference/edit', params })
}

// 会议室删除
export function officeDelete(params: any) {
    return request.post({ url: '/office.conference/delete', params })
}

// 会议室详情
export function officeDetail(params: any) {
    return request.get({ url: '/office.conference/detail', params })
}

// 更改会议室状态
export function officeStatus(params: any) {
    return request.post({ url: '/office.conference/updateStatus', params })
}

// 获取会议室预定规则
export function officeConfigDetail(params: any) {
    return request.get({ url: '/office.conference/configDetail', params })
}

// 更改会议室预定规则设置
export function officeConfig(params: any) {
    return request.post({ url: '/office.conference/config', params })
}